package cc.rboot.lock.configuration;

import cc.rboot.lock.aspect.LockableAspect;
import cc.rboot.lock.holder.LockHolder;
import org.redisson.api.RedissonClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@ConditionalOnClass({SpringApplication.class, RedissonClient.class})
@Configuration
@Import({LockableAspect.class, LockHolder.class})
public class RBootLockConfiguration {
}
